package com.springboot.model;

import java.util.Date;

public class MessageInform {
    private Integer messageId;

    private Integer patientId;

    private Integer doctorId;

    private java.sql.Date bookDate;

    private String bookTime;

    private Date messageDatetime;

    private String messageState1;

    private String messageState2;

    private Integer messageMark;

    public MessageInform() {
        this.messageDatetime = new Date();
        this.messageState1 = "未读";
        this.messageState2 = "未读";
    }

    public MessageInform(Integer messageId, Integer patientId, Integer doctorId, java.sql.Date bookDate,
                         String bookTime, Date messageDatetime, String messageState1,
                         String messageState2, Integer messageMark) {
        this.messageId = messageId;
        this.patientId = patientId;
        this.doctorId = doctorId;
        this.bookDate = bookDate;
        this.bookTime = bookTime;
        this.messageDatetime = messageDatetime;
        this.messageState1 = messageState1;
        this.messageState2 = messageState2;
        this.messageMark = messageMark;
    }

    public Integer getMessageId() {
        return messageId;
    }

    public void setMessageId(Integer messageId) {
        this.messageId = messageId;
    }

    public Integer getPatientId() {
        return patientId;
    }

    public void setPatientId(Integer patientId) {
        this.patientId = patientId;
    }

    public Integer getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Integer doctorId) {
        this.doctorId = doctorId;
    }

    public Date getBookDate() {
        return bookDate;
    }

    public void setBookDate(java.sql.Date bookDate) {
        this.bookDate = bookDate;
    }

    public String getBookTime() {
        return bookTime;
    }

    public void setBookTime(String bookTime) {
        this.bookTime = bookTime;
    }

    public Date getMessageDatetime() {
        return messageDatetime;
    }

    public void setMessageDatetime(Date messageDatetime) {
        this.messageDatetime = messageDatetime;
    }

    public String getMessageState1() {
        return messageState1;
    }

    public void setMessageState1(String messageState1) {
        this.messageState1 = messageState1;
    }

    public String getMessageState2() {
        return messageState2;
    }

    public void setMessageState2(String messageState2) {
        this.messageState2 = messageState2;
    }

    public Integer getMessageMark() {
        return messageMark;
    }

    public void setMessageMark(Integer messageMark) {
        this.messageMark = messageMark;
    }

    public String toTestString() {
        return "MessageInform{" +
                "messageId=" + messageId +
                ", patientId=" + patientId +
                ", doctorId=" + doctorId +
                ", bookDate=" + bookDate +
                ", bookTime='" + bookTime + '\'' +
                ", messageDatetime=" + messageDatetime +
                ", messageState1='" + messageState1 + '\'' +
                ", messageState2='" + messageState2 + '\'' +
                ", messageMark=" + messageMark +
                '}';
    }
}